﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ListarPaquetes.aspx.cs" Inherits="ABC_SA_WEB.ListarPaquetes" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="formListas">
        <div class="gridStyle2">
            <asp:GridView ID="dgvPaquetes" runat="server" Height="148px" Width="1000px"
                CellPadding="4" ForeColor="#333333"
                OnRowDeleting="borrarPaquete" OnRowCommand="seleccionarPaquete">
                <AlternatingRowStyle BackColor="White" />
                <Columns>
                    <asp:BoundField DataField="idSG" HeaderText="ID Paquete">
                        <ItemStyle Width="100px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="nombreSG" HeaderText="Nombre">
                        <ItemStyle Width="150px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="descripcionSG" HeaderText="Descripción">
                        <ItemStyle Width="380px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="fechaInicioSG" HeaderText="Fecha Inicio">
                        <ItemStyle Width="100px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="fechaFinalSG" HeaderText="Fecha Final">
                        <ItemStyle Width="100px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="precioSG" HeaderText="Precio">
                        <ItemStyle Width="50px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="estadoSG" HeaderText="Estado">
                        <ItemStyle Width="50px" />
                    </asp:BoundField>
                    <asp:CommandField CancelText="Cancelar" EditText="Editar" ButtonType="Image"
                        DeleteImageUrl="~/Images/delete-18.png" DeleteText="Eliminar"
                        ShowDeleteButton="True" SelectImageUrl="~/Images/text-edit-4.png"
                        SelectText="Seleccionar" ShowSelectButton="True">
                        <ItemStyle Width="50px" />
                    </asp:CommandField>
                </Columns>
                <EditRowStyle BackColor="#2461BF" />
                <FooterStyle BackColor="#507CD1" ForeColor="White" Font-Bold="True" />
                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                <RowStyle BackColor="#EFF3FB" />
                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                <SortedAscendingCellStyle BackColor="#F5F7FB" />
                <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                <SortedDescendingCellStyle BackColor="#E9EBEF" />
                <SortedDescendingHeaderStyle BackColor="#4870BE" />
            </asp:GridView>
        </div>
        <div>
            <asp:Button CssClass="btn" ID="btnVolver" runat="server" OnClick="btnVolver_Click" Text="Volver" />
        </div>
    </div>
</asp:Content>
